JavaScript RegExp {X,Y} Quantifier
JavaScript RegExp {X,Y} Quantifier
The n{X,Y} quantifier is used for matching any string that contains a sequence of X to Y. In it, X and Y must be a number.
Syntax:-
Its syntax is:- new RegExp("\\n{X,Y}") OR /\n{X,Y}/